package router

import (
	"gin-vue-admin/api/v1"
	"gin-vue-admin/middleware"
	"github.com/gin-gonic/gin"
)

func InitUserIndexTopRouter(Router *gin.RouterGroup) {
	UserIndexTopRouter := Router.Group("userIndexTop").Use(middleware.OperationRecord())
	{
		UserIndexTopRouter.POST("createUserIndexTop", v1.CreateUserIndexTop)   // 新建UserIndexTop
		UserIndexTopRouter.DELETE("deleteUserIndexTop", v1.DeleteUserIndexTop) // 删除UserIndexTop
		UserIndexTopRouter.DELETE("deleteUserIndexTopByIds", v1.DeleteUserIndexTopByIds) // 批量删除UserIndexTop
		UserIndexTopRouter.PUT("updateUserIndexTop", v1.UpdateUserIndexTop)    // 更新UserIndexTop
		UserIndexTopRouter.GET("findUserIndexTop", v1.FindUserIndexTop)        // 根据ID获取UserIndexTop
		UserIndexTopRouter.GET("getUserIndexTopList", v1.GetUserIndexTopList)  // 获取UserIndexTop列表
	}
}
